#ifndef MYGL_H
#define MYGL_H

#include <QWidget>
#include <GL/gl.h>
#include <QOpenGLWidget>
#include <QOpenGLFunctions>

class myGL : public QOpenGLWidget, protected QOpenGLFunctions
{
    Q_OBJECT
public:
    explicit myGL(QWidget *parent = nullptr);
    void initializeGL() override;

    QString CardName;
    QString CardRender;
    QString CardVersion;
signals:
    void inited();
};

#endif // MYGL_H
